Gbp-Pq: Name 0001-avcodec-avfft-initialize-to-0-to-avoid-segfaults-whe.patch
{
int ret;
float scale = 1.0f;
- AVTXWrapper *s = av_malloc(sizeof(*s));
+ AVTXWrapper *s = av_mallocz(sizeof(*s));
if (!s)
return NULL;
{
int ret;
float scale_f = scale;
- AVTXWrapper *s = av_malloc(sizeof(*s));
+ AVTXWrapper *s = av_mallocz(sizeof(*s));
if (!s)
return NULL;
if (trans != IDFT_C2R && trans != DFT_R2C)
return NULL;
- s = av_malloc(sizeof(*s));
+ s = av_mallocz(sizeof(*s));
if (!s)
return NULL;
[DST_I] = AV_TX_FLOAT_DST_I,
};
- AVTXWrapper *s = av_malloc(sizeof(*s));
+ AVTXWrapper *s = av_mallocz(sizeof(*s));
if (!s)
return NULL;